package org.jcut.bean;

import java.io.Serializable;
import java.util.Date;


import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * shopcar
 * @author 
 */
public class Shopcar implements Serializable {
	
    private String id;

    private String uId;

    @Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Shopcar [item=");
		
		builder.append(", id=");
		builder.append(id);
		builder.append(", uId=");
		builder.append(uId);
		builder.append(", cId=");
		builder.append(cId);
		builder.append(", cImg=");
		builder.append(cImg);
		builder.append(", cName=");
		builder.append(cName);
		builder.append(", cType=");
		builder.append(cType);
		builder.append(", cSpecs=");
		builder.append(cSpecs);
		builder.append(", cPrice=");
		builder.append(cPrice);
		builder.append(", cNum=");
		builder.append(cNum);
		builder.append(", time=");
		builder.append(time);
		builder.append(", sPrice=");
		builder.append(sPrice);
		builder.append(", dis=");
		builder.append(dis);
		builder.append("]");
		return builder.toString();
	}

	private String cId;

    private String cImg;

    private String cName;

    private String cType;

    private String cSpecs;

    private Double cPrice;

    /**
     * 商品数量
     */
    private Integer cNum;
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private Double sPrice;

    /**
     * 是否删除
     */
    private Integer dis;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getcImg() {
        return cImg;
    }

    public void setcImg(String cImg) {
        this.cImg = cImg;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcType() {
        return cType;
    }

    public void setcType(String cType) {
        this.cType = cType;
    }

    public String getcSpecs() {
        return cSpecs;
    }

    public void setcSpecs(String cSpecs) {
        this.cSpecs = cSpecs;
    }

    public Double getcPrice() {
        return cPrice;
    }

    public void setcPrice(Double cPrice) {
        this.cPrice = cPrice;
    }

    public Integer getcNum() {
        return cNum;
    }

    public void setcNum(Integer cNum) {
        this.cNum = cNum;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Double getsPrice() {
        return sPrice;
    }

    public void setsPrice(Double sPrice) {
        this.sPrice = sPrice;
    }

    public Integer getDis() {
        return dis;
    }

    public void setDis(Integer dis) {
        this.dis = dis;
    }




	
}